package com.consumer.entity;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * (TOrder)实体类
 *
 * @author makejava
 * @since 2021-11-18 14:02:45
 */
public class Order implements Serializable {
    private static final long serialVersionUID = 127733036165628657L;
    
    private String id;
    /**
    * 订单流水
    */
    private String orderNo;
    /**
    * 商品id
    */
    private String goodsId;
    /**
    * 商品名称
    */
    private String goodsName;
    /**
    * 支付手机号
    */
    private String phone;
    /**
    * 0未支付  1已支付  2已退款   3已取消
    */
    private Integer orderStatus;
    /**
    * 优惠券id
    */
    private String couponId;
    /**
    * 实际支付金额 元
    */
    private BigDecimal payMoney;
    /**
    * 原价格
    */
    private BigDecimal payTotal;
    /**
    * 用户id
    */
    private String userId;
    /**
    * 用户名称
    */
    private String userName;
    /**
    * 支付类型 0支付宝  1微信  2现金
    */
    private Integer payType;
    /**
    * 修改时间
    */
    private Date updateTime;
    /**
    * 支付时间
    */
    private Date payTime;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Object getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getCouponId() {
        return couponId;
    }

    public void setCouponId(String couponId) {
        this.couponId = couponId;
    }

    public BigDecimal getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(BigDecimal payMoney) {
        this.payMoney = payMoney;
    }

    public BigDecimal getPayTotal() {
        return payTotal;
    }

    public void setPayTotal(BigDecimal payTotal) {
        this.payTotal = payTotal;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Object getPayType() {
        return payType;
    }

    public void setPayType(Integer payType) {
        this.payType = payType;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

}